package com.jhnote.dao;

import com.jhnote.pojo.User;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserMapper {
    List <User> getAllUsers();
    User getUserById(@Param("id") int id);
    int createUser(User user);
}
